package com.sf.dlb.jpa.model;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 提现信息表 Entity
 *
 * Created by jing.tan on 2018/12/10.
 */
@Entity
@Table(name="wallet_extract_info")
public class WalletExtractInfo extends BaseEntity{
    /*
      `extract_number` varchar(64) DEFAULT NULL COMMENT '提现流水号',
      `tx_number` varchar(128) DEFAULT NULL COMMENT '公链(交易流水号)',
      `user_id` varchar(64) DEFAULT NULL COMMENT '用户id',
      `extract_address_id` varchar(64) DEFAULT NULL COMMENT '提现地址Id',
      `extract_address` varchar(255) DEFAULT NULL COMMENT '提现地址',
      `extract_count` decimal(10,3) DEFAULT NULL COMMENT '提现的数量(dlb)',
      `extract_charge` decimal(10,3) DEFAULT NULL COMMENT '提取手续费',
      `extract_state` char(1) DEFAULT NULL COMMENT '提现状态(0：已完成，1：提现中，2：未完成)',
     */
    private static final long serialVersionUID = 1L;
    private String extractNumber;               // 提现流水号
    private String txNumber;                   // 公链(交易流水号)
    private String userId;                      // 用户id
    private String extractAddressId;            // 提现地址Id
    private String extractAddress;              // 提现地址
    private Double extractCount;               // 提现的数量(dlb)
    private Double extractCharge;               // 提现的手续费
    private String extractState;               // 提现状态(0：已完成，1：提现中，2：未完成)

    public String getExtractNumber() {
        return extractNumber;
    }

    public void setExtractNumber(String extractNumber) {
        this.extractNumber = extractNumber;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getExtractAddressId() {
        return extractAddressId;
    }

    public void setExtractAddressId(String extractAddressId) {
        this.extractAddressId = extractAddressId;
    }

    public String getExtractAddress() {
        return extractAddress;
    }

    public void setExtractAddress(String extractAddress) {
        this.extractAddress = extractAddress;
    }

    public Double getExtractCount() {
        return extractCount;
    }

    public void setExtractCount(Double extractCount) {
        this.extractCount = extractCount;
    }

    public String getExtractState() {
        return extractState;
    }

    public void setExtractState(String extractState) {
        this.extractState = extractState;
    }

    public Double getExtractCharge() {
        return extractCharge;
    }

    public void setExtractCharge(Double extractCharge) {
        this.extractCharge = extractCharge;
    }

    public String getTxNumber() {
        return txNumber;
    }

    public void setTxNumber(String txNumber) {
        this.txNumber = txNumber;
    }
}